home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / processes / wait < prev   
Encoding:
Text File  |  1992-12-17  |  798 b   |  16 lines

  1.  
  2.  
  3.           wait pid
  4.                Waits for the process identified by process id pid to
  5.                terminate, either due to an untrapped signal or call to
  6.                exit system call.  Wait returns a list containing three
  7.                elements:  The first element is the process id of the
  8.                process that terminated.  If the process exited
  9.                normally, the second element is `EXIT', and the third
  10.                contains the numeric exit code.  If the process
  11.                terminated due to a signal, the second element is
  12.                `SIG', and the third contains the signal name.  If the
  13.                process is currently stopped (on systems that support
  14.                SIGSTP), the second element is `STOP', followed by the
  15.                signal name.
  16.